package com.gu.service;

import com.github.pagehelper.PageInfo;
import com.gu.VO.ServerResponse;
import com.gu.entity.PropertyDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @ProjectName: apartment-management-center
 * @Package: com.gu.service
 * @ClassName: PropertyService
 * @Author: gusongliao
 * @Description: 维修物业接口
 * @createDate 2021/04/13 13:24
 */
public interface PropertyService {

    PageInfo propertyList(Integer pageNum, Integer pageSize,String selectUserParam,Integer id,Integer repairStatus);

    ServerResponse updateRepairStatus(PropertyDO propertyDO);

    PageInfo propertyListNew(Integer pageNum, Integer pageSize,Integer repairStatus);

    PageInfo propertyListByUserId(Integer pageNum, Integer pageSize,Integer ownerId,Integer repairStatus);

    ServerResponse insert(PropertyDO entity);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    ServerResponse deleteByIds(@Param("ids") Integer[] ids);

}
